<template>
  <div class="modifyPasswd">
    <my-header :header-obj="header1Obj" class="header" />

    <section>
      <h3>找回密码</h3>
      <div class="modifyPasswd-con">
        <div>
          <i class="font_family icon-denglu_icon_num" />
          <input v-model="phone" type="phone" placeholder="请输入手机号">
        </div>
        <div>
          <i class="font_family icon-denglu_icon_mima" />
          <input v-model="mima" type="phone" placeholder="请输入新密码（请输入字母、数字最少6位）">
        </div>
        <div>
          <i class="font_family icon-denglu_icon_mima" />
          <input v-model="mima2" type="phone" placeholder="请再次输入密码">
        </div>
        <div class="yanzhengma">
          <i class="font_family icon-denglu_icon_yanzheng" />
          <input v-model="yzm" type="phone" placeholder="请输入验证码">
          <span>获取验证码</span>
        </div>
      </div>
      <div class="bottonBox">
        <router-link tag="button" to="/login">返回</router-link>
        <router-link tag="button" to="/login">确认修改</router-link>
      </div>

    </section>
  </div>
</template>

<script>
import myHeader from '../../../components/template-item2/header'
export default {
  components: { myHeader },
  data() {
    return {
      phone: '',
      yzm: '',
      mima: '',
      mima2: '',
      header1Obj: {
        logoImg: require('../../../assets/img/template-item2/common/logo1.png'),
        style: {
          backgroundColor: '#323333',
          color: '#fff'
        }
      }
    }
  },
  created() {},
  mounted() {
    var orderHight = document.body.clientHeight
    console.log(orderHight)
  },
  methods: {

  }

}
</script>

<style lang="scss" scoped>
.modifyPasswd{
  width: 100%;
  max-width: 1920px;
  min-width: 1200px;
  height: 100%;
  margin: 0 auto;
  overflow: auto;
  overflow-y:hidden;
  background-color: #F6F6F6;
  >.header{
    margin-bottom: 158px;
  }
  >section{
    width: 474px;
    height: 452px;
    margin: 0 auto;
    background-color: #fff;
    margin-bottom: 140px;
    border-radius:8px;
    box-shadow:0px 3px 6px rgba(0,0,0,0.16);
    >h3{
      width: 100%;
      height: 56px;
      line-height: 56px;
      color: #fff;
      background-color: #DC3535;
      font-size: 20px;
      text-align: center;
      font-weight: bold;
      border-top-left-radius: 8px;
      border-top-right-radius: 8px;
      margin-bottom: 50px;
    }
    >.modifyPasswd-con{
      padding: 0 37px;
      margin-bottom: 45px;
      >div{
        border: 1px solid #ECECEC;
        border-radius:4px;
        height: 47px;
        display: flex;
        align-items: center;
        margin-bottom: 12px;
        padding-left: 12px;
        input{
          width: 100%;
          border: none;
          outline: none;
          background-color: transparent;
          font-size: 16px;
          margin-left: 8px;
        }
        input::-webkit-input-placeholder {
          /* placeholder颜色  */
          color: #787878;
          font-size: 14px;
        }
        >i{
          color: #787878;
        }
      }
      >.yanzhengma{
        position: relative;
        >span{
          display: block;
          width: 85px;
          height: 32px;
          line-height: 32px;
          background-color: #DC3535;
          border-radius:4px;
          font-size: 13px;
          color: #fff;
          text-align: center;
          position: absolute;
          top: 7px;
          right: 9px;
          cursor: pointer;
        }
      }

    }
    >.bottonBox{
      width: 360px;
      margin: 0 auto;
      display: flex;
      flex-flow: row nowrap;
      justify-content: space-between;
      align-items: center;
      >button{
        border: none;
        outline: none;
        display: block;
        width: 170px;
        height: 48px;
        line-height: 48px;
        border-radius: 4px;
        font-size: 20px;
        cursor: pointer;
      }
      >button:first-child{
        background-color: #ECECEC;
        color: #B8B8B8;
      }
      >button:last-child{
        background-color: #DC3535;
        color: #fff;
        border: 1px solid #DBDBDB;
      }
    }
  }
}

</style>

